package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingLevel;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description NursingLevelMapper
 * @Author Wen Jie
 * @Date 2024-09-09
 */
@Mapper
public interface NursingLevelMapper {
    List<NursingLevel> listAll();

    Page<NursingLevel> listByPage(String name, String status);

    void addNursingLevel(NursingLevel nursingLevel);

    NursingLevel getById(Long id);

    void updateNursingLevel(NursingLevel nursingLevel);

    void deleteById(Long id);

    void updateStatusById(Long id, Integer status);
}
